import { ItemBase, ItemGroup } from '../LeftMenu';
import { MainSearchTableProps } from '../MainSearchTable/interface';

/**
 * @desc 预设字段选项
 */
export type PresetField =
  | '单选题选择'
  | '多选题选择'
  | '课件'
  | '判断题选择'
  | '选择单个试卷'
  | '已上架课件'
  | '学习计划'
  | '考试计划';

/**
 * @desc 选择表格的配置
 */
export type PresetReturnType =
  | ItemBase<{ props: MainSearchTableProps }>
  | (ItemBase<{ props: MainSearchTableProps }> | ItemGroup<{ props: MainSearchTableProps }>)[];
